package com.zg.entity;

import com.btzh.mis.core.dao.annotation.Persist;
import com.btzh.mis.core.dao.annotation.Table;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 五级平台实体
 * @author 刘春峰
 * 2016.6.7
 */
@XmlRootElement
@Table(table = "sf_wjpt", id = "jlbh", idField = "jlbh", sequence = "wjpt_seq")
public class Wjpt implements Serializable{
    private static final long serialVersionUID = 826444193274493660L;

    private Integer jlbh;//记录编号
    private String name;//部门名称
    private Integer bmlx;//部门类型
    private String zr;//主任
    private String zrlxdh;//主任联系方式
    private String fzr;//副主任
    private String fzrlxdh;//副主任联系方式
    private String zz;//职责
    private Integer sjbm;//上级部门
    private Integer x;//X坐标
    private Integer y;//Y坐标
    private String bm;//编码

    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private Integer rn;//序号
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sum;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private Integer cjrs;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String ffxczl;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String SumNetGrid;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private  String sumLawConsulting;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sumYwyy;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sumRmtj;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sumFzxc;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sumSqjz;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String sumAzbj;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private Wjpt wjpt;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String pid;
    @Persist({Persist.UNINSERTABLE,Persist.UNUPDATABLE})
    private String id;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Wjpt getWjpt() {
        return wjpt;
    }

    public void setWjpt(Wjpt wjpt) {
        this.wjpt = wjpt;
    }

    public Integer getRn() {
        return rn;
    }

    public void setRn(Integer rn) {
        this.rn = rn;
    }

    public Integer getJlbh() {
        return jlbh;
    }

    public void setJlbh(Integer jlbh) {
        this.jlbh = jlbh;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBmlx() {
        return bmlx;
    }

    public void setBmlx(Integer bmlx) {
        this.bmlx = bmlx;
    }

    public String getZr() {
        return zr;
    }

    public void setZr(String zr) {
        this.zr = zr;
    }

    public String getZrlxdh() {
        return zrlxdh;
    }

    public void setZrlxdh(String zrlxdh) {
        this.zrlxdh = zrlxdh;
    }

    public String getFzr() {
        return fzr;
    }

    public void setFzr(String fzr) {
        this.fzr = fzr;
    }

    public String getFzrlxdh() {
        return fzrlxdh;
    }

    public void setFzrlxdh(String fzrlxdh) {
        this.fzrlxdh = fzrlxdh;
    }

    public String getZz() {
        return zz;
    }

    public void setZz(String zz) {
        this.zz = zz;
    }

    public Integer getSjbm() {
        return sjbm;
    }

    public void setSjbm(Integer sjbm) {
        this.sjbm = sjbm;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getSum() {
        return sum;
    }

    public void setSum(String sum) {
        this.sum = sum;
    }

    public Integer getCjrs() {
        return cjrs;
    }

    public void setCjrs(Integer cjrs) {
        this.cjrs = cjrs;
    }

    public String getFfxczl() {
        return ffxczl;
    }

    public void setFfxczl(String ffxczl) {
        this.ffxczl = ffxczl;
    }

    public String getSumNetGrid() {
        return SumNetGrid;
    }

    public void setSumNetGrid(String sumNetGrid) {
        SumNetGrid = sumNetGrid;
    }

    public String getSumLawConsulting() {
        return sumLawConsulting;
    }

    public void setSumLawConsulting(String sumLawConsulting) {
        this.sumLawConsulting = sumLawConsulting;
    }

    public String getSumYwyy() {
        return sumYwyy;
    }

    public void setSumYwyy(String sumYwyy) {
        this.sumYwyy = sumYwyy;
    }

    public String getSumRmtj() {
        return sumRmtj;
    }

    public void setSumRmtj(String sumRmtj) {
        this.sumRmtj = sumRmtj;
    }

    public String getSumFzxc() {
        return sumFzxc;
    }

    public void setSumFzxc(String sumFzxc) {
        this.sumFzxc = sumFzxc;
    }

    public String getSumSqjz() {
        return sumSqjz;
    }

    public void setSumSqjz(String sumSqjz) {
        this.sumSqjz = sumSqjz;
    }

    public String getSumAzbj() {
        return sumAzbj;
    }

    public void setSumAzbj(String sumAzbj) {
        this.sumAzbj = sumAzbj;
    }

    @Override
    public String toString() {
        return "jlbh:"+jlbh+",name:"+name;
    }
}
